<html>

<meta charset="utf-8">

<title>input标签选择file直接读取本地图片并显示</title>

<body>

<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/11.js"></script>
<script src="js/bcj.js"></script>

<script>

$(document).ready(function(){

//图片显示插件

$.imageFileVisible({wrapSelector: "#image-wrap",   

fileSelector: "#file",
    width: "150",
    height: "200"

});

});

</script>

<style>
img{width: 100%;}
</style>
<input type="file" id="file" style="width: 200px;height: 100px;">

<div id="image-wrap"></div>


<div class="ddd" style="font-size: 2em;">提交</div>
</body>

  </html>